#include <stdio.h>

int main() {
    char caiban;
    scanf("%c\n",&caiban);
    printf("  %c\n",caiban);
    printf(" %c%c%c\n",caiban,caiban,caiban);
    printf("%c%c%c%c%c\n",caiban,caiban,caiban,caiban,caiban);
    printf(" %c%c%c\n",caiban,caiban,caiban);
    printf("  %c\n",caiban);
    return 0;
}